import request from '@/utils/request'

export default {
    //统计某天注册人数，生成统计数据
    createStaData(day){
        return request({
            url: `/statistics/daily/registerCount/${day}`,
            method: 'post',
        })
    },
    //展示统计数据
    showChart(subjectObj){
        return request({
            url: `/statistics/daily/showChart/${subjectObj.type}/${subjectObj.begin}/${subjectObj.end}`,
            method: 'get'
        })
    }
}